import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'

//导入全局样式
import '@/style/index.scss'

//导入  vant  组件库
import vant from 'vant'

//导入  vant 样式文件
import 'vant/lib/index.css'

//导入  vant 组件库的移动端事件匹配
import '@vant/touch-emulator';

//导入  自己的插件库
import Plugin from '@/utils/plugin'
const app = createApp(App)

app.use(createPinia())
app.use(router)

// 把 vant 挂载 app 实例上
app.use(vant)
//注册全局组件
app.use(Plugin)
   


app.mount('#app')
